<template>
  <div>
    <keep-alive>
      <router-view></router-view>
    </keep-alive>
    <nav class="footer">
      <router-link to="/layout/homepage">首页</router-link>
      <router-link to="/layout/findhouse">找房</router-link>
      <router-link to="/layout/infomodel">资讯</router-link>
      <router-link to="/layout/my">我的</router-link>
    </nav>
  </div>
</template>

<script>
export default {
  name: "RentHouseLayout",

  data() {
    return {};
  },

  mounted() {},

  methods: {},
};
</script>

<style lang="less" scoped>
.footer {
  width: 100%;
  height: 50px;
  position: fixed;
  bottom: 0;
  left: 0;
  display: flex;
  justify-content: space-around;
  align-items: center;
  background-color: aquamarine;
  a {
    text-align: center;
    width: 25%;
    color: rgb(33, 185, 122);
    text-decoration: none;
  }
}
</style>
